const service = require("../../utils/service.js").service

module.exports.getMain = () => service({url: '/medicine/category/list'})
module.exports.getSub = (id) => service({url: '/medicine/category/product/' + id})
module.exports.search = (name) => service({ url: `/medicine/product/list?name=${name}` })
